using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMContract_TypeBusiness
    {
        public static clsTMContract_TypeController cls = new clsTMContract_TypeController();

        #region[Get-Data]
        public DataTable BindGirdTMContract_Type()
        {
            return cls.BindGirdTMContract_Type();
        }
        public DataTable BindGirdTMContract_Type_Detail_Edit(int id)
        {
            return cls.BindGirdTMContract_Type_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMContract_Type(clsTMContract_TypeProperty obj)
        {
            return cls.InsertTMContract_Type(obj);
        }
        public static bool UpdateTMContract_Type(clsTMContract_TypeProperty obj)
        {
            return cls.UpdateTMContract_Type(obj);
        }
        public static bool DeleteTMContract_Type(int id)
        {
            return cls.DeleteTMContract_Type(id);
        }
        public bool TMContract_Type_Check_TMContract(int id)
        {
            return cls.TMContract_Type_Check_TMContract(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}